import {
  get,
  post
} from "@/api/http";

export const getSpecialityList = ( data ) =>
  post( "/api/private/speciality/list", data );


export const specialityDelete = ( id ) =>
  post( "/api/private/speciality/delete", {
    id
  } );


export const specialityCreate = ( data ) =>
  post( "/api/private/speciality/create", data );

export const specialityUpdate = ( data ) =>
  post( "/api/private/speciality/update", data );